package com.wrench.elevator.tida.node;

import java.util.List;

public class NodeDistrict
{
    private String name;
    
    private boolean checked = false;
    
    private String checkboxValue;
    
    private boolean spread = false;
    
    private List<NodeBuilding> data;
    
    private String value;
    
  private String title;
    
    public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}
    
    public String getName()
    {
        return name;
    }
    
    public void setName(String name)
    {
        this.name = name;
    }
    
    public boolean isChecked()
    {
        return checked;
    }
    
    public void setChecked(boolean checked)
    {
        this.checked = checked;
    }
    
    public String getCheckboxValue()
    {
        return checkboxValue;
    }
    
    public void setCheckboxValue(String checkboxValue)
    {
        this.checkboxValue = checkboxValue;
    }
    
    public boolean isSpread()
    {
        return spread;
    }
    
    public void setSpread(boolean spread)
    {
        this.spread = spread;
    }
    
    

	public List<NodeBuilding> getData() {
		return data;
	}

	public void setData(List<NodeBuilding> data) {
		this.data = data;
	}

	public NodeDistrict(String name, boolean checked, String checkboxValue,
			boolean spread, List<NodeBuilding> data, String title) {
		super();
		this.name = name;
		this.checked = checked;
		this.checkboxValue = checkboxValue;
		this.spread = spread;
		this.data = data;
		this.title = title;
	}

	public NodeDistrict() {
		super();
		// TODO Auto-generated constructor stub
	}

	@Override
	public String toString() {
		return "NodeDistrict [name=" + name + ", checked=" + checked
				+ ", checkboxValue=" + checkboxValue + ", spread=" + spread
				+ ", data=" + data + ", value=" + value + ", title=" + title
				+ "]";
	}

	public NodeDistrict(String name, boolean checked, String checkboxValue,
			boolean spread, List<NodeBuilding> data, String value, String title) {
		super();
		this.name = name;
		this.checked = checked;
		this.checkboxValue = checkboxValue;
		this.spread = spread;
		this.data = data;
		this.value = value;
		this.title = title;
	}

	public String getValue() {
		return value;
	}

	public void setValue(String value) {
		this.value = value;
	}


	
	
    
}
